Optimal. Leaf size=91 \[ \frac {x}{5 a c (a+a x)^{5/2} (c-c x)^{5/2}}+\frac {4 x}{15 a^2 c^2 (a+a x)^{3/2} (c-c x)^{3/2}}+\frac {8 x}{15 a^3 c^3 \sqrt {a+a x} \sqrt {c-c x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 91, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {40, 39}
\begin {gather*} \frac {8 x}{15 a^3 c^3 \sqrt {a x+a} \sqrt {c-c x}}+\frac {4 x}{15 a^2 c^2 (a x+a)^{3/2} (c-c x)^{3/2}}+\frac {x}{5 a c (a x+a)^{5/2} (c-c x)^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 39
Rule 40
Rubi steps
\begin {align*} \int \frac {1}{(a+a x)^{7/2} (c-c x)^{7/2}} \, dx &=\frac {x}{5 a c (a+a x)^{5/2} (c-c x)^{5/2}}+\frac {4 \int \frac {1}{(a+a x)^{5/2} (c-c x)^{5/2}} \, dx}{5 a c}\\ &=\frac {x}{5 a c (a+a x)^{5/2} (c-c x)^{5/2}}+\frac {4 x}{15 a^2 c^2 (a+a x)^{3/2} (c-c x)^{3/2}}+\frac {8 \int \frac {1}{(a+a x)^{3/2} (c-c x)^{3/2}} \, dx}{15 a^2 c^2}\\ &=\frac {x}{5 a c (a+a x)^{5/2} (c-c x)^{5/2}}+\frac {4 x}{15 a^2 c^2 (a+a x)^{3/2} (c-c x)^{3/2}}+\frac {8 x}{15 a^3 c^3 \sqrt {a+a x} \sqrt {c-c x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 49, normalized size = 0.54 \begin {gather*} \frac {x \left (15-20 x^2+8 x^4\right )}{15 a^3 c^3 \sqrt {a (1+x)} \sqrt {c-c x} \left (-1+x^2\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 2 in
optimal.
time = 38.96, size = 63, normalized size = 0.69 \begin {gather*} \frac {2 \left (-I \text {meijerg}\left [\left \{\left \{\frac {7}{4},\frac {9}{4},1\right \},\left \{\frac {1}{2},\frac {7}{2},4\right \}\right \},\left \{\left \{\frac {7}{4},\frac {9}{4},3,\frac {7}{2},4\right \},\left \{0\right \}\right \},\frac {1}{x^2}\right ]+\text {meijerg}\left [\left \{\left \{-\frac {1}{2},0,\frac {1}{2},\frac {5}{4},\frac {7}{4},1\right \},\left \{\right \}\right \},\left \{\left \{\frac {5}{4},\frac {7}{4}\right \},\left \{-\frac {1}{2},0,3,0\right \}\right \},\frac {\text {exp\_polar}\left [-2 I \text {Pi}\right ]}{x^2}\right ]\right )}{15 \text {Pi}^{\frac {3}{2}} a^{\frac {7}{2}} c^{\frac {7}{2}}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(162\) vs.
\(2(73)=146\).
time = 0.16, size = 163, normalized size = 1.79
method | result | size |
gosper | \(-\frac {\left (1+x \right ) \left (-1+x \right ) x \left (8 x^{4}-20 x^{2}+15\right )}{15 \left (a x +a \right )^{\frac {7}{2}} \left (-c x +c \right )^{\frac {7}{2}}}\) | \(37\) |
default | \(-\frac {1}{5 a c \left (a x +a \right )^{\frac {5}{2}} \left (-c x +c \right )^{\frac {5}{2}}}+\frac {-\frac {1}{3 a c \left (a x +a \right )^{\frac {3}{2}} \left (-c x +c \right )^{\frac {5}{2}}}+\frac {-\frac {4}{3 a c \sqrt {a x +a}\, \left (-c x +c \right )^{\frac {5}{2}}}+\frac {4 \left (\frac {3 \sqrt {a x +a}}{5 a c \left (-c x +c \right )^{\frac {5}{2}}}+\frac {3 \left (\frac {2 \sqrt {a x +a}}{15 a c \left (-c x +c \right )^{\frac {3}{2}}}+\frac {2 \sqrt {a x +a}}{15 a \,c^{2} \sqrt {-c x +c}}\right )}{c}\right )}{3 a}}{a}}{a}\) | \(163\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 67, normalized size = 0.74 \begin {gather*} \frac {x}{5 \, {\left (-a c x^{2} + a c\right )}^{\frac {5}{2}} a c} + \frac {4 \, x}{15 \, {\left (-a c x^{2} + a c\right )}^{\frac {3}{2}} a^{2} c^{2}} + \frac {8 \, x}{15 \, \sqrt {-a c x^{2} + a c} a^{3} c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.30, size = 74, normalized size = 0.81 \begin {gather*} -\frac {{\left (8 \, x^{5} - 20 \, x^{3} + 15 \, x\right )} \sqrt {a x + a} \sqrt {-c x + c}}{15 \, {\left (a^{4} c^{4} x^{6} - 3 \, a^{4} c^{4} x^{4} + 3 \, a^{4} c^{4} x^{2} - a^{4} c^{4}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 46.54, size = 85, normalized size = 0.93 \begin {gather*} - \frac {2 i {G_{6, 6}^{5, 3}\left (\begin {matrix} \frac {7}{4}, \frac {9}{4}, 1 & \frac {1}{2}, \frac {7}{2}, 4 \\\frac {7}{4}, \frac {9}{4}, 3, \frac {7}{2}, 4 & 0 \end {matrix} \middle | {\frac {1}{x^{2}}} \right )}}{15 \pi ^{\frac {3}{2}} a^{\frac {7}{2}} c^{\frac {7}{2}}} + \frac {2 {G_{6, 6}^{2, 6}\left (\begin {matrix} - \frac {1}{2}, 0, \frac {1}{2}, \frac {5}{4}, \frac {7}{4}, 1 & \\\frac {5}{4}, \frac {7}{4} & - \frac {1}{2}, 0, 3, 0 \end {matrix} \middle | {\frac {e^{- 2 i \pi }}{x^{2}}} \right )}}{15 \pi ^{\frac {3}{2}} a^{\frac {7}{2}} c^{\frac {7}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 333 vs.
\(2 (73) = 146\).
time = 0.07, size = 459, normalized size = 5.04 \begin {gather*} -2 \left (\frac {2 \left (\left (-\frac {\frac {1}{14745600}\cdot 983040 a^{2} c^{2} a^{2} \sqrt {a x+a} \sqrt {a x+a}}{a^{2} c^{3} \left |a\right | a^{2}}+\frac {\frac {1}{14745600}\cdot 4224000 a^{3} c^{2} a^{2}}{a^{2} c^{3} \left |a\right | a^{2}}\right ) \sqrt {a x+a} \sqrt {a x+a}-\frac {\frac {1}{14745600}\cdot 4608000 a^{4} c^{2} a^{2}}{a^{2} c^{3} \left |a\right | a^{2}}\right ) \sqrt {a x+a} \sqrt {2 a^{2} c-a c \left (a x+a\right )}}{\left (2 a^{2} c-a c \left (a x+a\right )\right )^{3}}+\frac {2 \left (-45 \left (\sqrt {2 a^{2} c-a c \left (a x+a\right )}-\sqrt {-a c} \sqrt {a x+a}\right )^{8}+450 a^{2} c \left (\sqrt {2 a^{2} c-a c \left (a x+a\right )}-\sqrt {-a c} \sqrt {a x+a}\right )^{6}-1660 a^{4} c^{2} \left (\sqrt {2 a^{2} c-a c \left (a x+a\right )}-\sqrt {-a c} \sqrt {a x+a}\right )^{4}+2200 a^{6} c^{3} \left (\sqrt {2 a^{2} c-a c \left (a x+a\right )}-\sqrt {-a c} \sqrt {a x+a}\right )^{2}-1024 a^{8} c^{4}\right )}{240 c^{2} \sqrt {-a c} \left |a\right | \left (-\left (\sqrt {2 a^{2} c-a c \left (a x+a\right )}-\sqrt {-a c} \sqrt {a x+a}\right )^{2}+2 a^{2} c\right )^{5}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.44, size = 50, normalized size = 0.55 \begin {gather*} \frac {x\,\left (8\,x^4-20\,x^2+15\right )}{15\,a^3\,\sqrt {a+a\,x}\,{\left (c-c\,x\right )}^{5/2}\,\left (c+3\,c\,x-x\,\left (c-c\,x\right )\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________